package com.jxc.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Storage entity. @author MyEclipse Persistence Tools
 */

public class Storage implements java.io.Serializable {

	// Fields

	private Integer id;
	private Purchase purchase;
	private Staff staff;
	private String sn;
	private Date storagetime;
	private String state;
	private String remarks;
	private Set storagelists = new HashSet(0);

	// Constructors

	/** default constructor */
	public Storage() {
	}

	/** full constructor */
	public Storage(Purchase purchase, Staff staff, String sn, Date storagetime,
			String state, String remarks, Set storagelists) {
		this.purchase = purchase;
		this.staff = staff;
		this.sn = sn;
		this.storagetime = storagetime;
		this.state = state;
		this.remarks = remarks;
		this.storagelists = storagelists;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Purchase getPurchase() {
		return this.purchase;
	}

	public void setPurchase(Purchase purchase) {
		this.purchase = purchase;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public Date getStoragetime() {
		return this.storagetime;
	}

	public void setStoragetime(Date storagetime) {
		this.storagetime = storagetime;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Set getStoragelists() {
		return this.storagelists;
	}

	public void setStoragelists(Set storagelists) {
		this.storagelists = storagelists;
	}

}